package ipe.dealer;

public class CityList {

	static int getCityID(String strToFind){
		int cityId;
		for (cityId=0; !Cities[cityId].equals(strToFind); cityId++);
		return cityId;
	}
	
	static String[] Cities = {
			"Most pri Bratislave",
			"Malinovo",
			"Tomasov", 
			"Rovinka"
	};

	static float[] PriceMods = { 1f, 2.7f, 3.5f, 4f	};	
	
	static int[] CityRandomSeed = { 1,2,2,3 };
	
	static float getPriceMod(String city){
		return PriceMods[getCityID(city)];
	}
	
	static int getRandomSeed(String city){
		return CityRandomSeed[getCityID(city)];
	}
}
